package com.guli.search.feign;

import com.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Repository
@FeignClient(value = "product-service")
public interface ProductFeign {

    @RequestMapping("product/attr/info/{attrId}")
    public R info(@PathVariable("attrId") Long attrId);
}
